<div class="layui-row" style="color: #000000;padding: 10px;">
  <div class="layui-row" style="margin-bottom: 10px;"><a href="{:url('wendasns/home/index',['id'=>$user.id],false)}" style="display: inline-block;"><h3 style="margin-right: 5px;">{$user.username}</h3></a></div>
  <div class="layui-row" style="margin-bottom: 10px;">
    <div style="float: left;padding-top: 4px;" class="portrait-bg">{:portrait($user.id)}</div>
    <div style="float: left;">
      <p><i class="layui-icon">&#xe6b2;</i> 回复量：{$user.data.answer}</p>
      <p><i class="layui-icon">&#xe600;</i> 被采纳：{$user.data.adopt}</p>
      <p><i class="layui-icon">&#xe621;</i> 文章量：{$user.data.article}</p>
    </div>
  </div>
  
  <div class="layui-row" style="text-align: center;">
    <a href="{:url('wendasns/common/follow')}" class="layui-btn layui-btn-normal layui-btn-sm J_req" data-json='{"uid":"{$user.id}","type":"1"}' data-click="follow">{if !$fans}<i class="layui-icon layui-icon-add-1"></i> 关注TA{else}取消关注{/if}</a>
    <button class="layui-btn layui-btn-primary layui-btn-sm"><i class="layui-icon layui-icon-dialogue"></i> 发私信</button>
  </div>
</div>